package com.itheima.day10.myParameter.test1;

public class Demo1 {
    public static void main(String[] args) {
        System.out.println(getSum(12, 18, -30));
    }

    public static int getSum(int num1, int num2) {
        return num1 + num2;
    }

    public static int getSum(int num1, int num2, int num3) {
        return num1 + num2 + num3;
    }

}
